/*
 *Copyright (c) 1997, 2011, Company Name. All rights reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
 */
package com.vlaearn.spring.aspectj.bean.impl;

import com.vlaearn.spring.aspectj.bean.CustomerBean;

/**
 * @author IB1378
 * @since 21/02/2014
 *  
 *  This class is used to explain aspectj usage.
 */
public class CustomerBeanImpl implements CustomerBean{

	/**
	 * 
	 */
	public void addCustomer(){
		System.out.println("addCustomer() is running ");
	}
 
	/**
	 * 
	 */
	public String addCustomerReturnValue(){
		System.out.println("addCustomerReturnValue() is running ");
		return "abc";
	}
 
	/**
	 * 
	 */
	public void addCustomerThrowException(){
		int i = 10/0;
		System.out.println(i);
	}
 
	/**
	 * 
	 */
	public void addCustomerAround(String name){
		System.out.println("addCustomerAround() is running, args : " + name);
	}
	
}
